// 主体颜色
@primary-color: #43b3bf;
// 背景颜色
@primary-color-bg: #ceebee;

body {
  --primary-color: @primary-color;
  --primary-color-bg: @primary-color-bg;
}

:global(.ant-modal-body) {
  padding-bottom: 4px;
}

.feedbackBtn {
  width: 130px;
  height: 40px;
  background: inherit;
  background-color: rgba(36, 104, 242, 1);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-style: normal;
  font-size: 18px;
  color: #fff;
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.feedbackBtnCancel {
  width: 130px;
  height: 40px;
  background: inherit;
  //background-color: rgba(36, 104, 242, 1);
  border: 1px rgba(36, 104, 242, 1) solid ;
  border-radius: 4px;
  font-weight: 700;
  font-style: normal;
  font-size: 18px;
  color: rgba(36, 104, 242, 1);
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.feedbackBtn:hover {
  background-color: #2f54eb;
  color: #fff;
  // filter: brightness(115%) contrast(105%);
}

// .feedbackBtn:active {
//   //background-color: var(--primary-color);
//   color: #fff;
//   filter: brightness(115%) contrast(105%);
//   border: 1px #fff solid;
//   box-shadow: 0 0 7px 2px var(--primary-color) !important;
// }

// .feedbackBtn:focus {
//   //background-color: var(--primary-color);
//   color: #fff;
// }

.feedbackContainer {
  width: auto;
  position: absolute;
  right: 0;
  top: 25px;
  .img {
    width: 28px;
    height: 26px;
    margin-right: 10px;
    //margin-top: 10px;
  }

  .feedbackImg {
    cursor: pointer;
    color: #2f54eb;
    width: 28px;
    height: 26px;
    //margin-right: auto;
    margin-left: auto;
    display: block;
    margin-right: 60px;

    //img {
    //  color: #2f54eb;
    //  width: 2.2em;
    //  height: 2.2em;
    //  transform: translateX(-100vw);
    //  filter: drop-shadow(var(--primary-color) 100vw 0);
    //}
  }
  .feedbackImg:hover {
    transform: scale(1.1);
  }
  .feedbackImg:active {
    transform: scale(0.9);
  }
}

.feedback {
  position: relative;
  .feedbackType {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;

    :global(.ant-select:not(.ant-select-disabled):hover .ant-select-selector) {
      border-color: var(--primary-color);
    }

    :global(.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector) {
      box-shadow: 0 0 0 2px var(--primary-color-bg);
    }

    :global(.ant-select-focused:not( .ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector) {
      border-color: var(--primary-color);
    }

  }

  .contentItemMust {
    position: absolute;
    color: red;
  }

  :global(.ant-input:hover),
  :global(.ant-upload.ant-upload-select-picture-card:hover) {
    border-color: var(--primary-color);
  }

  :global(.ant-input:focus),
  :global(.ant-input-focused) {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color-bg);
  }

  .feedbackTitle {
    position: absolute;
    top: -60px;
    left: 140px;
    font-size: 12px;
    color: #666666;
  }

  .feedbackOpinionInput::placeholder {
    color: #bfbfbf;
  }

  .feedbackOpinionInput:hover {
    border-color: var(--primary-color);
  }

  .feedbackOpinionInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color-bg);
  }

  .errorMessage {
    color: red;
    font-size: 12px;
    height: 18px;
    line-height: 18px;
  }

  .imgMessage {
    font-size: 12px;
    height: 12px;
    line-height: 12px;
    color: #AAAAAA;
    margin-bottom: 10px;
  }
  :global{
    .ant-upload-list-item-card-actions-btn{
      margin-top: 15px;
    }
  }
}

:global(.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected) {
  background-color: var(--primary-color-bg);
}
